package com.yxh.lib_base.ext.livedata;

import com.kunminx.architecture.ui.callback.ProtectedUnPeekLiveData;


public class LiveDataAllowNull<T> extends ProtectedUnPeekLiveData<T>{
    public LiveDataAllowNull(T value) {
        super(value);
        isAllowNullValue = true;
    }

    public LiveDataAllowNull() {
        isAllowNullValue = true;
    }

    public void setValue(T value) {
        super.setValue(value);
    }

    public void postValue(T value) {
        super.postValue(value);
    }

}
